package io.charr;

import java.io.FileWriter;
import java.io.IOException;

public class Writee {
    public static void main(String[] args) {


        {
            try (FileWriter A = new FileWriter("D:\\workspace\\basic-chapter\\src\\io\\charr\\x.txt", true);) {
                A.write("2");
                A.write('s');
                A.write("赵");
                A.write("爱中国");
                A.write("\n");
            char[] s={'a','黑','人'};
                A.write(s);

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    }
}